package text;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

public class Test03 {
    public static void main(String[] args) throws IOException {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入要创建的目录名");
        String str = scan.nextLine();
        File file = new File(str);
        file.createNewFile();
        System.out.println("创建完毕");
    }
}
